/*
 * bankTest.cc
 *
 *  Created on: Sep 24, 2012
 *      Author: shaohong
 */


#include "bank.hh"
#include <iostream>

using namespace std;

int main(){

	BankAccount account("shaohong", "123456", 4567.8);

	account.print();

	cout << "account.getBalance()" << account.getBalance() << endl;

	cout << "adding 300 euros" << endl;

	account.deposit(300);
	account.print();

	cout << "withdraw 3000 euros" << endl;

	account.withdraw(3000);
	account.print();

}

